﻿//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Logging Application Block
//===============================================================================
// License: http://www.codeplex.com/entlibcontrib/Project/License.aspx
// Author: Randy
//===============================================================================

using System;

namespace EntLibContrib.Logging.Parser
{
	/// <summary>
	/// Generic Interface for parsing the timeStamp text from a log file.
	/// </summary>
	public interface ITimeStampParser
	{
		#region Public Methods
		/// <summary>
		/// Parse the timeStamp text from a log file.
		/// </summary>
		/// <param name="timeStampText">The time stamp text.</param>
		/// <returns>date and time</returns>
		DateTime ParseTimeStamp(string timeStampText);
		#endregion
	}
}
